<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // // let if = 10
    // let num1 = 'pink老师'
    // let num2 = '戚薇'
    // let temp
    // // 都是把右边给左边
    // temp = num1
    // num1 = num2
    // num2 = temp
    // console.log(num1, num2)


    let num1 = 20
    let mun2 = 50
    let temp 
    //都是把右边的给左边
    temp = num1
    num1 = num2
    num2 = temp 
    console.log(num1,num2);
  </script>
</body>

</html>